package stu1;

public class Student {
    int sNo;//学号
    String name;
    String gender;
    int age;

    public Student(){

    }
    public Student(int s,String n,String g,int a){
        this.sNo=s;
        this.name=n;
        this.gender=g;
        this.age=a;
    }

    public void print(){
        System.out.println(sNo+"\t"+name+"\t"+gender+"\t"+age);
    }
}
